//
//  LFGroupCollectionViewCell.m
//  QingDaoCommunity
//
//  Created by 李学林 on 15/11/25.
//  Copyright © 2015年 teteTechnology. All rights reserved.
//

#import "LFGroupCollectionViewCell.h"


@interface LFGroupCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;


@property (weak, nonatomic) IBOutlet UILabel *groupLabel;

@end



@implementation LFGroupCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setModel:(LFGroup *)model{

    _model= model;
    
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:model.cover]];
    
    self.groupLabel.text = model.title;

}

@end
